//
//  AddSideView.h
//  fitnessmanage
//
//  Created by wujian on 2017/12/18.
//  Copyright © 2017年 zongquankeji. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MOFSBottomView.h"

typedef void (^CancelBlock)(void);

typedef void(^CommitSourceBlock)(NSString *name,NSString *unit);

@interface AddSideView : UIView


/**
 透明
 */
@property(nonatomic,weak)UIView *alphaView;


/**
 白色背景
 */
@property(nonatomic,weak)UIView *whiteView;


/**
 标题
 */
@property(nonatomic,weak)UILabel *titleLabel;


/**
 关闭
 */
@property(nonatomic,weak)UIButton *closeBtn;


/**
 线条
 */
@property(nonatomic,weak)UIView *lineView;

@property(nonatomic,weak)UITextField *nameTF;

@property(nonatomic,weak)UITextField *unitTF;

@property(nonatomic,weak)MOFSBottomView *bottomView;

@property (nonatomic, strong) CancelBlock cancelBlock;

@property (nonatomic, strong) CommitSourceBlock commitBlock;

@property (nonatomic, strong) NSMutableDictionary *dict;

- (void)showWithAnimation;

@end
